package com.hyt.it.ogt.kq.common.gov.enums;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @PACKAGE_NAME: com.hyt.it.ogt.kq.common.gov.enums
 * @USER: Wuyingge
 * @DATE: 2023/8/24 15:42
 * @PROJECT_NAME: it-ogt-kq
 * @Desc :
 **/
public enum TaskCandidateAreaVirtualAreaIdEnums {

    country("100000", "虚拟国","1"),
    province("100001", "虚拟省","2"),
    city("100011", "虚拟市","3"),
    district("100111", "虚拟区县","4"),
    ;

    private final String id;
    private final String desc;

    private final String type;

    public String getId() {
        return id;
    }

    public String getDesc() {
        return desc;
    }

    public String getType() {
        return type;
    }

    TaskCandidateAreaVirtualAreaIdEnums(String id, String desc, String type) {
        this.id = id;
        this.desc = desc;
        this.type = type;
    }

    public static List<String> getAllIds(){
        List<String> ids = new ArrayList<>();
        for (TaskCandidateAreaVirtualAreaIdEnums taskCandidateAreaVirtualAreaIdEnums : values()) {
            String taskCandidateAreaVirtualAreaIdEnumsId = taskCandidateAreaVirtualAreaIdEnums.getId();
            ids.add(taskCandidateAreaVirtualAreaIdEnumsId);
        }
        return ids;
    }

}
